package chapter07_object;

/**
 * ClassName: Person
 * Package: chapter07_object
 * Description:
 *类的继承-父类
 * @Author SherryAn
 * @Create 2025/7/16 19:21
 */
public class Person {
    //声明属性
    String name;
    //声明方法
    void eat(){
        System.out.println("会吃饭");
    }
}
